package com.example.curriculum;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TableRow;

public class SettingActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setting);
        TableRow tableRow = findViewById(R.id.more_page_row11);
        tableRow.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(SettingActivity.this, WeatherSsActivity.class);
                startActivity(intent);
            }
        });
        TableRow tableRow2 = findViewById(R.id.more_page_row12);
        tableRow2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(SettingActivity.this, MessageActivity.class);
                startActivity(intent);
            }
        });
        TableRow tableRow3 = findViewById(R.id.more_page_row0);
        tableRow3.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(SettingActivity.this, setActivity.class);
                startActivity(intent);
            }
        });
    }
}